<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="pragma" content="no-cache" />
        <meta http-equiv="cache-control" content="no-cache" />
        <meta http-equiv="expires" content="0" />
        <title></title>
        <link rel="stylesheet" rev="stylesheet" href="{{$http_url}}/css/style.css" type="text/css" media="all" />
    </head>

    <body class="ContentBody">
        <form action="{{$http_url}}/systemConfig/editAction/" method="post"  name="form" >
            <div class="MainDiv">
                <table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
                    <tr>
                        <th class="tablestyle_title" >系统配置文件修改</th>
                    </tr>
                    <tr>
                        <td class="CPanel">
                            <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
								{{foreach from=$systemConfigList item=systemConfig key=configTitle}}
                                <tr>
                                    <td width="100%">
                                        <fieldset style="height:100%;">
                                            <legend>{{$configTitleList.$configTitle}}</legend>
                                            <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
												{{foreach from=$systemConfig item=config}}
                                                <tr>
                                                    <td nowrap align="right" width="15%">{{$config.0}}:</td>
                                                    <td width="35%"><input name='{{$config.1}}' id="{{$config.1}}" type="{{$config.3}}" class="text" style="width:254px" value="{{$config.2}}" /></td>
                                                </tr>
												{{/foreach}}
                                                <br>
                                            </table>
                                            <br />
                                        </fieldset></td>
                                </tr>
								{{/foreach}}
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center" height="50px">
                            <input id="submit" type="submit" name="submit" value="保存" class="button" />
							<input id="apply" type="button" name="button" value="应用" class="button" />
                        </td>
                    </tr>
                </table>
            </div>
        </form>
        <script type="text/javascript" src="{{$http_url}}/js/jquery.min.js"></script>
        <script type="text/javascript" src="{{$http_url}}/js/authentication.js"></script>
		<script>
			$("#apply").click(function(){
				location.href="{{$http_url}}/systemConfig/applyAction/";
			});
		</script>
    </body>
</html>
